package com.xjrsoft.module.customerTwo.AppManage.sales_order.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;

import java.time.LocalDateTime;

import lombok.Data;


/**
 * 数据传输对象实体类
 *
 * @author lisen
 * @since 2024-04-25
 */
@Data
public class SalesOrderDto {
	private static final long serialVersionUID = 1L;

	@JsonProperty("id")
	private Integer id;

	@JsonProperty("business_opportunity_id")
	private String businessOpportunityId;

	@JsonProperty("business_opportunity_number")
	private String businessOpportunityNumber;

	@JsonProperty("assembly_id")
	private String assemblyId;


	@JsonProperty("order_number")
	private String orderNumber;

	@JsonProperty("customer_id")
	private String customerId;

	@JsonProperty("customer_code")
	private String customerCode;

	@JsonProperty("contactor_id")
	private String contactorId;

	@JsonProperty("contactor_name")
	private String contactorName;

	@JsonProperty("contactor_phone")
	private String contactorPhone;

	@JsonProperty("create_date")
	private LocalDateTime createDate;

	@JsonProperty("sales_department_id")
	private String salesDepartmentId;

	@JsonProperty("sales_man_id")
	private String salesManId;

	@JsonProperty("contract_number")
	private String contractNumber;

	@JsonProperty("contract_name")
	private String contractName;

	@JsonProperty("contract_start_date")
	private LocalDateTime contractStartDate;

	@JsonProperty("contract_end_date")
	private LocalDateTime contractEndDate;

	@JsonProperty("tax_amount")
	private BigDecimal taxAmount;

	@JsonProperty("none_tax_amount")
	private BigDecimal noneTaxAmount;

	@JsonProperty("contract_instruction")
	private String contractInstruction;

	@JsonProperty("sales_assembly_id")
	private String salesAssemblyId;

	@JsonProperty("files")
	private String files;

	@JsonProperty("state")
	private Integer state;

	@JsonProperty("auditor_id")
	private String auditorId;

	@JsonProperty("audit_date")
	private LocalDateTime auditDate;

	@JsonProperty("reject_reason")
	private String rejectReason;

	@JsonProperty("contract_state")
	private Integer contractState;

	@JsonProperty("general_contractor")
	private String generalContractor;
}
